using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;

namespace BusinessObjects
{

    public class HocKy:BaseObject
	{
		private string _maQuanLy = String.Empty;
		private string _tenHocKy = String.Empty;
        private NamHoc _namHoc;
		private DateTime _tuNgay;
		private DateTime _denNgay;
		
        #region Public Properties
        public string MaQuanLy
        {
            get
            {
                return _maQuanLy;
            }
            set
            {
                if (_maQuanLy == value)
                    return;
                _maQuanLy = value;
                OnPropertyChanged("MaQuanLy");
            }
        }

		public string TenHocKy
		{
            get
            {
                return _tenHocKy;
            }
            set
            {
                if (_tenHocKy == value)
                    return;
                _tenHocKy = value;
                OnPropertyChanged("TenHocKy");
            }
		}

		public NamHoc NamHoc
		{
            get
            {
                return _namHoc;
            }
            set
            {
                if (_namHoc == value)
                    return;
                _namHoc = value;
                OnPropertyChanged("NamHoc");
            }
		}

		public DateTime TuNgay
		{
            get
            {
                return _tuNgay;
            }
            set
            {
                if (_tuNgay == value)
                    return;
                _tuNgay = value;
                OnPropertyChanged("TuNgay");
            }
		}

		public DateTime DenNgay
		{
            get
            {
                return _denNgay;
            }
            set
            {
                if (_denNgay == value)
                    return;
                _denNgay = value;
                OnPropertyChanged("DenNgay");
            }
		}
		#endregion
		
	}
	
}

